package com.banciyuan.bcywebview.biz.main.mainpage.timeline.viewholder;

import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.banciyuan.bcywebview.R;
import com.banciyuan.bcywebview.base.view.textview.EllipsezeTextView;

/**
 * Created by squall on 2017/4/18.
 */

public class ViewPost extends BaseView {

    public TextView teamName;
    public LinearLayout teamNameLayout;
    public ImageView[] content;
    public EllipsezeTextView intro;
    public TextView pagenum;
    public RelativeLayout imagePics;
    public View viewDailyMark;

    public ViewPost(View convertView) {
        super(convertView);
        content = new ImageView[]{(ImageView) convertView.findViewById(R.id.daily_content_img_one),
                (ImageView) convertView.findViewById(R.id.daily_content_img_two),
                (ImageView) convertView.findViewById(R.id.daily_content_img_three)};
        teamName = (TextView) convertView.findViewById(R.id.daily_teamname_tv);
        teamNameLayout = (LinearLayout) convertView.findViewById(R.id.daily_teamname_rly);
        intro = (EllipsezeTextView) convertView.findViewById(R.id.daily_intro_tv);
        pagenum = (TextView) convertView.findViewById(R.id.daily_pagenum_tv);
        imagePics = (RelativeLayout) convertView.findViewById(R.id.rl_daily_pics);
        viewDailyMark = convertView.findViewById(R.id.tv_daily_mark);
    }
}
